package com.fuxi.cloud.desreport.render.b;

import com.alibaba.fastjson.JSONObject;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

/**
 * b
 *
 * @Author: 扫地僧
 * @CreateTime: 2021-05-03
 */
public class b {
    private String a;
    private Integer b;
    private String c;
    private List<Integer> d = new LinkedList();
    private List<String> e = new ArrayList();
    private JSONObject f;
    private String g;
    private String h;

    public void a(Integer var1) {
        this.d.add(var1);
    }

    public void a(String var1) {
        this.e.add(var1);
    }

    public b() {
    }

    public String getColumn() {
        return this.a;
    }

    public Integer getMerge() {
        return this.b;
    }

    public String getDirection() {
        return this.c;
    }

    public List<Integer> getChildSize() {
        return this.d;
    }

    public List<String> getValues() {
        return this.e;
    }

    public JSONObject getRow() {
        return this.f;
    }

    public String getRowKey() {
        return this.g;
    }

    public String getSuffixText() {
        return this.h;
    }

    public void setColumn(String column) {
        this.a = column;
    }

    public void setMerge(Integer merge) {
        this.b = merge;
    }

    public void setDirection(String direction) {
        this.c = direction;
    }

    public void setChildSize(List<Integer> childSize) {
        this.d = childSize;
    }

    public void setValues(List<String> values) {
        this.e = values;
    }

    public void setRow(JSONObject row) {
        this.f = row;
    }

    public void setRowKey(String rowKey) {
        this.g = rowKey;
    }

    public void setSuffixText(String suffixText) {
        this.h = suffixText;
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof b)) {
            return false;
        } else {
            b var2 = (b)o;
            if (!var2.a((Object)this)) {
                return false;
            } else {
                label107: {
                    Integer var3 = this.getMerge();
                    Integer var4 = var2.getMerge();
                    if (var3 == null) {
                        if (var4 == null) {
                            break label107;
                        }
                    } else if (var3.equals(var4)) {
                        break label107;
                    }

                    return false;
                }

                String var5 = this.getColumn();
                String var6 = var2.getColumn();
                if (var5 == null) {
                    if (var6 != null) {
                        return false;
                    }
                } else if (!var5.equals(var6)) {
                    return false;
                }

                String var7 = this.getDirection();
                String var8 = var2.getDirection();
                if (var7 == null) {
                    if (var8 != null) {
                        return false;
                    }
                } else if (!var7.equals(var8)) {
                    return false;
                }

                label86: {
                    List var9 = this.getChildSize();
                    List var10 = var2.getChildSize();
                    if (var9 == null) {
                        if (var10 == null) {
                            break label86;
                        }
                    } else if (var9.equals(var10)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    List var11 = this.getValues();
                    List var12 = var2.getValues();
                    if (var11 == null) {
                        if (var12 == null) {
                            break label79;
                        }
                    } else if (var11.equals(var12)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    JSONObject var13 = this.getRow();
                    JSONObject var14 = var2.getRow();
                    if (var13 == null) {
                        if (var14 == null) {
                            break label72;
                        }
                    } else if (var13.equals(var14)) {
                        break label72;
                    }

                    return false;
                }

                String var15 = this.getRowKey();
                String var16 = var2.getRowKey();
                if (var15 == null) {
                    if (var16 != null) {
                        return false;
                    }
                } else if (!var15.equals(var16)) {
                    return false;
                }

                String var17 = this.getSuffixText();
                String var18 = var2.getSuffixText();
                if (var17 == null) {
                    if (var18 != null) {
                        return false;
                    }
                } else if (!var17.equals(var18)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean a(Object var1) {
        return var1 instanceof b;
    }

    @Override
    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        Integer var3 = this.getMerge();
        int var11 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
        String var4 = this.getColumn();
        var11 = var11 * 59 + (var4 == null ? 43 : var4.hashCode());
        String var5 = this.getDirection();
        var11 = var11 * 59 + (var5 == null ? 43 : var5.hashCode());
        List var6 = this.getChildSize();
        var11 = var11 * 59 + (var6 == null ? 43 : var6.hashCode());
        List var7 = this.getValues();
        var11 = var11 * 59 + (var7 == null ? 43 : var7.hashCode());
        JSONObject var8 = this.getRow();
        var11 = var11 * 59 + (var8 == null ? 43 : var8.hashCode());
        String var9 = this.getRowKey();
        var11 = var11 * 59 + (var9 == null ? 43 : var9.hashCode());
        String var10 = this.getSuffixText();
        var11 = var11 * 59 + (var10 == null ? 43 : var10.hashCode());
        return var11;
    }

    @Override
    public String toString() {
        return "GroupColumn(column=" + this.getColumn() + ", merge=" + this.getMerge() + ", direction=" + this.getDirection() + ", childSize=" + this.getChildSize() + ", values=" + this.getValues() + ", row=" + this.getRow() + ", rowKey=" + this.getRowKey() + ", suffixText=" + this.getSuffixText() + ")";
    }
}

